package com.mayber.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description:
 *
 * @author Mayber
 * @date Created on 2021/7/14
 */

@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "Hello!";
    }

    @RequestMapping("/he")
    public String test(){
        return "Hello World!";
    }
}
